package com.song.mvc.controller;


import org.springframework.stereotype.Component;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Description: HelloControllerImpl：类描述
 * @author: songzhangyong
 * @Date: 2019/11/27 09:34
 */

@Component("/impl1/hello")
public class HelloControllerImpl implements Controller {


	@Override
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {
		response.getWriter().write("HelloControllerImpl ... handleRequest ..");
		return null;
	}
}
